import { request } from '@/plugins/request';

// 获取某个人主页详情
export function getProfile(username) {
  return request({
    method: 'GET',
    url: `/api/profiles/${username}`
  });
}